#include "LightPrePassInclude.hlsli"

PNTBTInputPS main(PNTBTInputVS input)
{
	PNTBTInputPS output = (PNTBTInputPS)0;
	float4 positionWorld = mul(input.position, world);
	output.positionWorld = positionWorld.xyz;
	output.position = mul(mul(positionWorld, view), projection);
	output.normalWorld = normalize(mul(input.normal, (float3x3)world));
	output.texCoord = input.texCoord;
	output.bitangentWorld = normalize(mul(input.bitangent, (float3x3)world));
	output.tangentWorld = normalize(mul(input.tangent, (float3x3)world));
	return output;
}
